class ButtonConfig {
    // if reuestName, then --> request button
    requestName?:string;
    loadingText?:string;
    onclick?:Function;
    onsuccess?:Function;
    onfail?:Function;
    text?:string;
}


class InputConfig {
    onchange?:Function;
}

class ListConfig {
    data:Array<any>; 
}


class ModalConfig{
    open?:Function;
    onopen?:Function;
    onclose?:Function;
    close?:Function;
    onconfirm?:Function;
}

class BottomSheetConfig {
    open?:Function;
    onopen?:Function;
    close?:Function;
    onclose?:Function;
    onselect?:Function;
    data?:object;
}


export {
    ButtonConfig,
    InputConfig,
    ModalConfig,
    BottomSheetConfig
}